# -*- coding: utf-8 -*-
import webapp2
import handler

from google.appengine.ext.webapp.util import run_wsgi_app

routes = [
    webapp2.Route(
        '/',                        
        handler=handler.ViewEvents,
        name='show'),
    webapp2.Route(
        '/add_event',
        handler=handler.AddEvent,
        name='add'),
    webapp2.Route(
        '/reveal_events',
        handler=handler.RevealEvents,
        name='reveal'),
]

application = webapp2.WSGIApplication(routes, debug=True)


def main():
    run_wsgi_app(application)


if __name__ == "__main__":
    main()
